<table class="<%= table_css_classes("table-hover table-fixed") %>">
  <thead>
    <tr>
      <th><%= sort :name, :as => s_("AuthSource|Name") %></th>
      <th><%= s_("AuthSource|Host") %></th>
      <th><%= s_("AuthSource|Onthefly register") %></th>
      <th><%= s_("AuthSource|LDAPS") %></th>
      <th><%= _('Actions') %></th>
    </tr>
  </thead>
  <tbody>
  <% auth_source_ldaps.each do |auth_source_ldap| %>
    <tr>
      <td class=""><%=link_to_if_authorized trunc_with_tooltip(auth_source_ldap.name), hash_for_edit_auth_source_ldap_path(:id => auth_source_ldap) %></td>
      <td><%=h auth_source_ldap.host %></td>
      <td><%=checked_icon auth_source_ldap.onthefly_register %></td>
      <td><%=checked_icon auth_source_ldap.tls %></td>
      <td class='col-md-1'><%= action_buttons display_delete_if_authorized hash_for_auth_source_ldap_path(:id => auth_source_ldap), :data => { :confirm => _("Delete %s?") % auth_source_ldap.name } %></td>
    </tr>
  <% end %>
  </tbody>
</table>
